From: Bilal Elmoussaoui Date: Tue, 13 Feb 2024 19:28:13 +0000 (+0100) Subject: keyboardManager: Adapt to moved functions X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~1^2~176 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5d4054135e00320f6d606bf5985c9e6ba5800237;p=gnome-shell.git keyboardManager: Adapt to moved functions Part-of: --- diff --git a/js/misc/keyboardManager.js b/js/misc/keyboardManager.js index d63bd1fec..bc7894e1a 100644 --- a/js/misc/keyboardManager.js +++ b/js/misc/keyboardManager.js @@ -33,13 +33,13 @@ export function getKeyboardManager() { export function releaseKeyboard() { if (Main.modalCount > 0) - global.display.unfreeze_keyboard(global.get_current_time()); + global.backend.unfreeze_keyboard(global.get_current_time()); else - global.display.ungrab_keyboard(global.get_current_time()); + global.backend.ungrab_keyboard(global.get_current_time()); } export function holdKeyboard() { - global.display.freeze_keyboard(global.get_current_time()); + global.backend.freeze_keyboard(global.get_current_time()); } class KeyboardManager {